﻿using System;

namespace ResourceEnumerator.UI
{
    public sealed class ResourceSelectedEventArgs : EventArgs
    {
        public string ResourceKey { get; private set; }

        public ResourceSelectedEventArgs(string resourceKey)
        {
            if (string.IsNullOrWhiteSpace(resourceKey)) throw new ArgumentNullException("resourceKey");

            ResourceKey = resourceKey;
        }
    }
}
